@charset "utf-8";
@import "common/reset";
@import "common/common";

header{
    .schedule{
        float: left;
        margin-left: -100px;
        line-height: 30px;
        li{
            float: left;
            font-size: 14px;
            color: #999;
            &::after{
                content: ">";
                margin: 0 10px;
                color: #999;
            }
            &.active{
                color: #333333;
            }
        }
    }
    .header-right{
        float: right;
        height: 40px;
        font-size: 12px;
        line-height: 40px;
        margin-top: -10px;
        li{
            float: left;
            a{
                text-decoration: none;
                padding: 0 20px;
                color: #666;
                transition: all .2s linear;
                &:hover{
                    color: #00C3F5;
                }
            }
        }
        li[class="especially"]{
            display: block;
            position: relative;
            .especially_1{
                position: relative;
                height: 40px;
                display: block;
                font-size: 12px;
                padding: 0 20px;
                line-height: 40px;
                color: #666;
                overflow: hidden;
                border-left: 1px solid transparent;
                border-right: 1px solid transparent;
                transition: all .2s linear;
                border-top: 1px solid transparent;
                &:hover{
                    border-color: #ccc!important;
                    background-color: #fff;
                    color: #00c3f5;
                }
            }
            &:hover .sec-menu{
                height: 175px;
                border: 1px solid #ccc;
                border-top: 0;
            }
            .sec-menu{
                position: absolute;
                left: 0;
                top: 40px;
//              display: none;
                line-height: normal;
                overflow: hidden;
                font-size: 12px;
                background-color: #fff;
                height: 0;
                border: 0;
                transition: height .2s linear,border-width .2s linear;
                z-index: 99;
                a{
                    display: block;
                    text-align: left;
                    width: 100%;
                    white-space: nowrap;
                    &:hover{
                        color: #999;
                        background: #F5F5F5;
                    }
                }
                .exc{
                    border-top: 1px solid #999999;
                    text-align: center;
                }
                &:hover{
                    height: 175px;
                    border: 1px solid #ccc;
                    border-top: 0;
                }
                li{
                    float: none;
                    display: block;
//                  padding: 0 20px;
                    height: 35px;
                    width: 134px;
                    line-height: 35px;
                    color: #666;
                    transition: all .2s linear;
                }
            }
        }
    }
}
.car{
    padding-bottom: 40px;
    overflow: hidden;
    background: #F5F5F5;
    .cart-login-tips{
        display: none;
        width: 100%;
        height: 40px;
        font-size: 14px;
        text-align: center;
        color: #00c3f5;
        background-color: #ECF6FD;
        line-height: 40px;
        overflow: hidden;
    }
    .car_menu{
        width: 1240px;
        margin: 0 auto;
        &::before{
            display: table;
            content: " ";
        }
        .car_header{
            height: 50px;
            margin-top: 10px;
            background-color: #fff;
            color: #333;
            border-bottom: 1px solid #EFEFEF;
            .select{
                width: 220px;
                text-align: left;
                padding-left: 45px;
                .checked_box{
                    margin-right: 10px;
                    display: inline-block;
                    width: 17px;
                    height: 17px;
                    border: 1px solid #BDBDBD;
                    border-radius: 2px;
                    background-color: #fff;
                    text-align: center;
                    font-size: 10px;
                    line-height: 16px;
                    vertical-align: middle;
                }
                 input[type="checkbox"]{
                    opacity: 0;
                    position: absolute;
                 }
                input[type="checkbox"]:checked ~.checked_box{
                    border-color: #00c3f5;
                    background-color: #00c3f5;
                    &::before{
                        content: '\e7ba';
                        color: #fff;
                    }
                }
            }
            .merchandise{
                width: 270px;
                text-align: left;
            }
            .price{
                width: 220px;
                text-align: center;
            }
            .num{
                width: 200px;
                text-align: center;
            }
            .total{
                width: 160px;
                text-align: center;
            }
            .ctrl{
                width: 180px;
                text-align: right;
                padding-right: 40px;
            }
        }
        .car_menu_main{
            .select{
                height: 50px;
                line-height: 49px;
                padding-left: 45px;
                .checked_box{
                    margin-right: 10px;
                    display: inline-block;
                    width: 17px;
                    height: 17px;
                    border: 1px solid #BDBDBD;
                    border-radius: 2px;
                    background-color: #fff;
                    text-align: center;
                    font-size: 10px;
                    line-height: 17px;
                    vertical-align: middle;
                }
                input[type="checkbox"]{
                    opacity: 0;
                    position: absolute;
                }
                input[type="checkbox"]:checked ~ .checked_box{
                    border-color: #00c3f5;
                    background-color: #00c3f5;
                    &::before{
                        content: '\e7ba';
                        color: #fff;
                    }
                }
            }
            .car_menu_body{
                border-bottom: 1px solid #EFEFEF;
                background-color: #fff;
                .car-product{
                    height: 150px;
                    border-top: 1px solid #EFEFEF;
                    .select{
                        width: 220px;
                        text-align: left;
                        padding-left: 45px;
                        .checked_box{
                            margin-right: 10px;
                            display: inline-block;
                            width: 17px;
                            height: 17px;
                            border: 1px solid #BDBDBD;
                            border-radius: 2px;
                            background-color: #fff;
                            text-align: center;
                            font-size: 10px;
                            line-height: 17px;
                            vertical-align: middle;
                        }
                        input[type="checkbox"]{
                            opacity: 0;
                            position: absolute;
                                }
                        input[type="checkbox"]:checked ~ .checked_box{
                            border-color: #00c3f5;
                            background-color: #00c3f5;
                            &::before{
                                content: '\e7ba';
                                color: #fff;
                            }
                        }
                        .merchandise_wrap{
                            display: inline-block;
                            vertical-align: middle;
                            margin-left: 35px;
                            img{
                                width: 100px;
                                height: 100px;
                            }
                        }
                    }
                    .merchandise{
                        width: 270px;
                        text-align: left;
                        .merchandise_name{
                            text-decoration: none;
                            display: inline;
                            line-height: 22px;
                            width: 100%;
                            font-size: 14px;
                            p{
                                width: 100%;
                                white-space: nowrap;
                                overflow: hidden;
                                color: #666666;
                            }
                            span{
                                color: #999;
                            }
                        }
                    }
                    .price{
                        width: 220px;
                        text-align: center;
                        span{
                            font-size: 16px;
                            color: #666;
                            font-weight: bolder;
                        }
                    }
                    .num{
                        width: 200px;
                        text-align: center;
                        .num_wrap{
                            display: inline-block;
                            vertical-align: middle;
                            width: 140px;
                            height: 40px;
                            border: 1px solid #EFEFEF;
                            border-radius: 4px;
                            background-color: #fff;
                            .reduce{
                                width: 40px;
                                height: 100%;
                                background-color: transparent;
                                &::before{
                                    content: '\e604';
                                    transition: color .5s;
                                }
                                &:hover::before{
                                    color: #00C3F5;
                                }
                            }
                            .text_num{
                                width: 58px;
                                height: 100%;
                                line-height: 34px;
                                text-align: center;
                                border-left: 1px solid #EFEFEF;
                                border-right: 1px solid #EFEFEF;
                                input{
                                    width: 100%;
                                    height: 100%;
                                    border: none;
                                    margin: -4px 0 0;
                                    background-color: transparent;
                                    font-size: 14px;
                                    color: #333;
                                    text-align: center;
                                }
                            }
                            .add{
                                width: 40px;
                                height: 100%;
                                background-color: transparent;
                                &::before{
                                    content: '\e6bf';
                                    transition: color .5s;
                                }
                                &:hover::before{
                                    color: #00C3F5;
                                }
                            }
                        }
                    }
                    .total{
                        width: 160px;
                        text-align: center;
                        span{
                            font-size: 16px;
                            font-weight: bolder;
                            color: #e02b41;
                        }
                    }
                    .ctrl{
                        width: 180px;
                        text-align: right;
                        padding-right: 50px;
                        .ctrl_wrap{
                            a{
                                width: 40px;
                                height: 40px;
                                border-radius: 50%;
                                background-color: transparent;
                                transition: all .7s;
                                text-align: center;
                                line-height: 24px;
                                color: #BDBDBD;
                                &:hover{
                                    background-color: #EFEFEF;
                                }
                                .iconfont{
                                    font-size: 18px;
                                    font-weight: 400;
                                }
                            }
                        }
                    }
                }
            }
        }
        .car_footer{
            margin-top: 10px;
            position: relative;
            width: 100%;
            height: 70px;
            font-size: 14px;
            color: #666;
            line-height: 67px;
            transition: background-color 1s;
            background-color: #FFF;
            .car_footer_left{
                margin-left: 45px;
                height: 100%;
                .select_2{
                    display: inline-block;
                    text-align: left;
                    .checked_box{
                        margin-right: 10px;
                        display: inline-block;
                        width: 17px;
                        height: 17px;
                        border: 1px solid #BDBDBD;
                        border-radius: 2px;
                        background-color: #fff;
                        text-align: center;
                        font-size: 10px;
                        line-height: 17px;
                        vertical-align: middle;
                    }
                    input[type="checkbox"]{
                        opacity: 0;
                        position: absolute;
                    }
                    input[type="checkbox"]:checked ~ .checked_box{
                        border-color: #00c3f5;
                        background-color: #00c3f5;
                        &::before{
                            content: '\e7ba';
                            color: #fff;
                        }
                    }
                    span{
                        a{
                            text-decoration: none;
                            color: #333333;
                        }
                    }
                }
                .del{
                    display: inline-block;
                    a{
                        text-decoration: none;
                        color: #999;
                        margin: 0 30px 0 20px;
                    }
                }
                .text_wrap{
                    display: inline-block;
                    p{
                        display: inline-block;
                        span:first-of-type{
                            color: #000000;
                            font-weight: bold;
                        }
                        span:last-of-type{
                            color: #00C3F5;
                            font-weight: bold;
                        }
                    }
                }
            }
            .car_footer_right{
                height: 100%;
                margin-right: 30px;
                p{
                    display: inline-block;
                    .discounts{
                        margin-right:0;
                        font-size: 16px;
                        color: #e02b41;
                    }
                }
                span{
                    font-size: 20px;
                    font-weight: bolder;
                    color: #e02b41;
                    margin-right: 30px;
                    vertical-align: baseline;
                }
                .settle-accounts{
                    display: inline-block;
                    border-width: 1px;
                    border-radius: 4px;
                    font-size: 14px;
                    width: 100px;
                    height: 34px;
                    line-height: 34px;
                    transition: .5s all;
                    padding-left: 28px;
                    color: #FFF;
                    border-color: #00c3f5;
                    background-color: #00c3f5;
                    &:hover{
                        border-color: #40D2F8;
                        background-color: #40D2F8;
                    }
                }
            }
        }
    }
}
